/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projetlif13.model;

/**
 *
 * @author theo
 */
public abstract class Board2D extends Board{

    public Board2D(int _width, int _height) {
        super(_width, _height, 1);
    }

    //@Override
    //public abstract boolean makeMove(Move m, Player p);
            
    @Override
    public String toString() {
        String s = "Etat du plateau : \n";
        for (int y = 0; y < height; y++) {
            for (int x = 0; x < width; x++) {
                s += boardState[x][y][0] + "\t";
            }
            s += "\n";
        }
        return s;
    }
}
